package com.bruce.pattern.behavioral.observer;

import lombok.Getter;
import lombok.extern.slf4j.Slf4j;

import java.time.LocalDateTime;

/**
 * Created by bruce on 2018/11/10 19:48
 */
@Getter
@Slf4j
public class Weibo  {

    private String content;

    private LocalDateTime dateTime;

    public Weibo(String content) {
        this.content = content;
        dateTime = LocalDateTime.now();
    }
}
